#include"graph.h"

int main ()
{
	double g[][MAX] = 
	{{0, 8, 10, 5, 0, 0},
	 {8, 0, 2, 0, 0, 0},
	 {10, 2, 0, 0, 3, 0},
	 {5, 0, 0, 0, 0, 7},
	 {0, 0, 3, 0, 0, 0},
	 {0, 0, 0, 7, 0, 0}};
	
	AdjList *adj_list = NULL;
	create(&adj_list, g);
	print(adj_list);
	DFS(adj_list, 0);
	BFS(adj_list, 0);
	destroy(adj_list);
	
	return 0;
}
